package com.example.utils;

import java.util.Map;

public class MyThreadLocalUtils {
    private static ThreadLocal threadLocal = new ThreadLocal();

    public static <T> void setValue(T map) {
        threadLocal.set(map);
    }
    public static <T> T getValue() {
        return (T)threadLocal.get();
    }
}
